#include "drivers/chip/misc.h"

#define SYS_LOG_DOMAIN "qemu"
#include "sys_log.h"

void drv_misc_busy_wait(unsigned us)
{
    extern uint32_t SystemCoreClock;
    us = SystemCoreClock / 1000000 * us * 8;
    while (us--)
    {
    }
}

unsigned *drv_misc_bitband(void *mem)
{
    SYS_LOG("");
    return NULL;
}

int drv_misc_read_id_md5(unsigned char out[16])
{
    return 0;
}

void drv_misc_set_vector(void *vector)
{
    SYS_LOG("addr = %p", vector);
}

void *drv_misc_get_vector(void)
{
    return 0;
}
